import { WeaTools } from 'ecCom';
const { callApi } = WeaTools;

export const getBasic = params => callApi(`/api/doc/detail/basicInfo${params}`, 'GET', {});

export const docAccReplace = params => callApi('/api/doc/acc/docAccReplace', 'GET', params);

// 转换文件
export const convertFile = params => callApi('/api/doc/acc/convertFile', 'GET', params);

export const docAccSave = params => callApi('/api/doc/acc/docAccSave','GET',params);

export const getTable = params => callApi('/api/doc/acc/docAccVersion','GET',params);